package homework;

import java.util.HashMap;

public class Test05 {
	public static void main(String[] args) {
		int[] arr1 = {1,2,3}, arr2={3,4,5,2};
		System.out.println(unique(arr1,arr2));
	}

	private static HashMap<Integer,String> unique(int[] arr1, int[] arr2) {
		HashMap<Integer,String> map = new HashMap<>();
		for(int idx:arr1){
			map.put(idx,"unique");
		}
		for(int idx:arr2){
			if(map.containsKey(idx)){
				map.remove(idx);
			}else{
				map.put(idx, "unique");
			}
		}
		return map;
	}
}
